Integrand size = 22, antiderivative size = 59 \[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{\text {arccosh}(c x)}\right )}{c d}+\frac {b \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(c x)}\right )}{c d}-\frac {b \operatorname {PolyLog}\left (2,e^{\text {arccosh}(c x)}\right )}{c d} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {5903, 4267, 2317, 2438} \[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\frac {2 \text {arctanh}\left (e^{\text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))}{c d}+\frac {b \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(c x)}\right )}{c d}-\frac {b \operatorname {PolyLog}\left (2,e^{\text {arccosh}(c x)}\right )}{c d} \]
[In]
[Out]
Rule 2317
Rule 2438
Rule 4267
Rule 5903
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}(\int (a+b x) \text {csch}(x) \, dx,x,\text {arccosh}(c x))}{c d} \\ & = \frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{\text {arccosh}(c x)}\right )}{c d}+\frac {b \text {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{c d}-\frac {b \text {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\text {arccosh}(c x)\right )}{c d} \\ & = \frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{\text {arccosh}(c x)}\right )}{c d}+\frac {b \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{c d}-\frac {b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\text {arccosh}(c x)}\right )}{c d} \\ & = \frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{\text {arccosh}(c x)}\right )}{c d}+\frac {b \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(c x)}\right )}{c d}-\frac {b \operatorname {PolyLog}\left (2,e^{\text {arccosh}(c x)}\right )}{c d} \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 64, normalized size of antiderivative = 1.08 \[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\frac {-\left ((a+b \text {arccosh}(c x)) \left (\log \left (1-e^{\text {arccosh}(c x)}\right )-\log \left (1+e^{\text {arccosh}(c x)}\right )\right )\right )+b \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(c x)}\right )-b \operatorname {PolyLog}\left (2,e^{\text {arccosh}(c x)}\right )}{c d} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 2.33 (sec) , antiderivative size = 180, normalized size of antiderivative = 3.05
method | result | size |
derivativedivides | \(\frac {\frac {a \,\operatorname {arctanh}\left (c x \right )}{d}-\frac {b \left (-\operatorname {arctanh}\left (c x \right ) \operatorname {arccosh}\left (c x \right )-\frac {2 i \left (\operatorname {arctanh}\left (c x \right ) \ln \left (1+\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )-\operatorname {arctanh}\left (c x \right ) \ln \left (1-\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )+\operatorname {dilog}\left (1+\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )-\operatorname {dilog}\left (1-\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )\right ) \sqrt {-c^{2} x^{2}+1}\, \sqrt {\frac {c x}{2}+\frac {1}{2}}\, \sqrt {\frac {c x}{2}-\frac {1}{2}}}{c^{2} x^{2}-1}\right )}{d}}{c}\) | \(180\) |
default | \(\frac {\frac {a \,\operatorname {arctanh}\left (c x \right )}{d}-\frac {b \left (-\operatorname {arctanh}\left (c x \right ) \operatorname {arccosh}\left (c x \right )-\frac {2 i \left (\operatorname {arctanh}\left (c x \right ) \ln \left (1+\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )-\operatorname {arctanh}\left (c x \right ) \ln \left (1-\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )+\operatorname {dilog}\left (1+\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )-\operatorname {dilog}\left (1-\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )\right ) \sqrt {-c^{2} x^{2}+1}\, \sqrt {\frac {c x}{2}+\frac {1}{2}}\, \sqrt {\frac {c x}{2}-\frac {1}{2}}}{c^{2} x^{2}-1}\right )}{d}}{c}\) | \(180\) |
parts | \(\frac {a \ln \left (c x +1\right )}{2 d c}-\frac {a \ln \left (c x -1\right )}{2 d c}-\frac {b \left (-\operatorname {arctanh}\left (c x \right ) \operatorname {arccosh}\left (c x \right )-\frac {2 i \left (\operatorname {arctanh}\left (c x \right ) \ln \left (1+\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )-\operatorname {arctanh}\left (c x \right ) \ln \left (1-\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )+\operatorname {dilog}\left (1+\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )-\operatorname {dilog}\left (1-\frac {i \left (c x +1\right )}{\sqrt {-c^{2} x^{2}+1}}\right )\right ) \sqrt {-c^{2} x^{2}+1}\, \sqrt {\frac {c x}{2}+\frac {1}{2}}\, \sqrt {\frac {c x}{2}-\frac {1}{2}}}{c^{2} x^{2}-1}\right )}{d c}\) | \(200\) |
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\int { -\frac {b \operatorname {arcosh}\left (c x\right ) + a}{c^{2} d x^{2} - d} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=- \frac {\int \frac {a}{c^{2} x^{2} - 1}\, dx + \int \frac {b \operatorname {acosh}{\left (c x \right )}}{c^{2} x^{2} - 1}\, dx}{d} \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\int { -\frac {b \operatorname {arcosh}\left (c x\right ) + a}{c^{2} d x^{2} - d} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\int { -\frac {b \operatorname {arcosh}\left (c x\right ) + a}{c^{2} d x^{2} - d} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \text {arccosh}(c x)}{d-c^2 d x^2} \, dx=\int \frac {a+b\,\mathrm {acosh}\left (c\,x\right )}{d-c^2\,d\,x^2} \,d x \]
[In]
[Out]